

/* 清除默认样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /*设置和浏览器窗口一样高 */
    height: 100%;
}

body {
    height: 100%;
    background-image: url(../img/2.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.nav {
    /* 导航栏普遍50px */
    height: 50px;
    background-color: rgba(50,50,50,0.4);
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav img {
    width: 40px;
    height: 40px;
    margin-left: 30px;
    margin-right: 10px;
    border-radius: 20px;
}

.nav .spacer {
    width: 70%;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
}

.container {
    width: 1000px;
    margin: 0 auto;
    height: calc(100% - 50px);
    display: flex;
    justify-content: space-around;
}

.container .container-left {
    height: 100%;
    width: 200px;
    

}
.container .container-right {
    height: 100%;
    width: 796px;
    background-color: rgba(255,255,255,0.8);
    padding: 20px;
    border-radius: 20px;
    overflow:  auto;
}


.card {
    background-color: rgba(255,255,255,0.8);
    padding: 30px;
    border-radius: 20px;
}
.card img {
    width: 140px;
    height: 140px;
    border-radius: 70px;
}
.card h3 {
    text-align: center;
    padding: 10px;
}
.card a {
    display: block;
    text-align: center;
    color: #999;
    text-decoration: none;
    padding: 10px 0px;
}
.card .counter {
    display: flex;
    justify-content: space-around;
    padding: 5px;    
}

